.class public Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;
.super Landroidx/recyclerview/widget/RecyclerView$Adapter;
.source "DlnaDeviceDetailDialogAdapter.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$d;,
        Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$g;,
        Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$f;,
        Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$h;,
        Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$e;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroidx/recyclerview/widget/RecyclerView$Adapter<",
        "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;",
        ">;"
    }
.end annotation


# instance fields
.field public a:Landroid/content/Context;

.field public b:Z

.field private c:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$g;",
            ">;"
        }
    .end annotation
.end field

.field private d:Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$d;

.field private e:Les/l10;

.field private f:Ljava/lang/String;

.field private g:Z


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$d;Les/l10;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;-><init>()V

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a:Landroid/content/Context;

    .line 3
    invoke-virtual {p3}, Les/l10;->h()Z

    move-result p1

    iput-boolean p1, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->b:Z

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a:Landroid/content/Context;

    invoke-static {p1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    .line 5
    iput-object p2, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->d:Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$d;

    .line 6
    iput-object p3, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->e:Les/l10;

    .line 7
    invoke-virtual {p0}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a()Ljava/util/List;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->c:Ljava/util/List;

    .line 8
    invoke-static {}, Les/n10;->c()Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->f:Ljava/lang/String;

    .line 9
    iget-object p1, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->e:Les/l10;

    invoke-virtual {p1}, Les/l10;->a()Z

    move-result p1

    iput-boolean p1, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->g:Z

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;)Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$d;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->d:Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$d;

    return-object p0
.end method

.method private a(Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$e;I)V
    .locals 4

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->c:Ljava/util/List;

    if-eqz v0, :cond_1

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-gt p2, v0, :cond_1

    .line 8
    iget-object v0, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$e;->b:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->c:Ljava/util/List;

    add-int/lit8 v2, p2, -0x1

    invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$g;

    iget-object v1, v1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$g;->b:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 9
    iget-object v0, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$e;->a:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->c:Ljava/util/List;

    invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$g;

    iget-object v1, v1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$g;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 10
    iget-boolean v0, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->g:Z

    if-eqz v0, :cond_0

    .line 11
    iget-object v0, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$e;->b:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f06032e

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 12
    iget-object v0, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$e;->a:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f06009c

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 13
    iget-object v0, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$e;->c:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a:Landroid/content/Context;

    .line 14
    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v3, 0x7f0800d4

    invoke-virtual {v1, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    iget-object v3, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a:Landroid/content/Context;

    .line 15
    invoke-virtual {v3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    invoke-virtual {v3, v2}, Landroid/content/res/Resources;->getColor(I)I

    move-result v2

    .line 16
    invoke-static {v1, v2}, Les/fy;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 17
    iget-object p1, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    new-instance v0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$a;

    invoke-direct {v0, p0, p2}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$a;-><init>(Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;I)V

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_0

    .line 18
    :cond_0
    iget-object p2, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$e;->c:Landroid/widget/ImageView;

    const v0, 0x7f080460

    invoke-virtual {p2, v0}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 19
    iget-object p2, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$e;->b:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f0600a1

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getColor(I)I

    move-result v0

    invoke-virtual {p2, v0}, Landroid/widget/TextView;->setTextColor(I)V

    .line 20
    iget-object p1, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$e;->a:Landroid/widget/TextView;

    iget-object p2, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a:Landroid/content/Context;

    invoke-virtual {p2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p2

    invoke-virtual {p2, v1}, Landroid/content/res/Resources;->getColor(I)I

    move-result p2

    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setTextColor(I)V

    :cond_1
    :goto_0
    return-void
.end method

.method private a(Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$f;)V
    .locals 4

    .line 21
    iget-object v0, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$f;->b:Landroid/widget/ImageView;

    new-instance v1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$b;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$b;-><init>(Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 22
    iget-object v0, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$f;->a:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->e:Les/l10;

    invoke-virtual {v1}, Les/l10;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 23
    iget-object v0, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$f;->c:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0809c4

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    iget-object v2, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a:Landroid/content/Context;

    .line 24
    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f060320

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

    move-result v2

    .line 25
    invoke-static {v1, v2}, Les/fy;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 26
    iget-object v0, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$f;->c:Landroid/widget/ImageView;

    new-instance v1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$c;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$c;-><init>(Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 27
    iget-object p1, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$f;->d:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->f:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method private a(Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$h;)V
    .locals 4

    .line 2
    iget-boolean v0, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->b:Z

    const/16 v1, 0x8

    if-nez v0, :cond_1

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    iget-object v2, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->e:Les/l10;

    invoke-virtual {v2}, Les/l10;->b()Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x0

    invoke-virtual {v0, v2, v3}, Lcom/estrongs/android/pop/o;->a(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 4
    iget-object p1, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$h;->a:Landroid/widget/RelativeLayout;

    invoke-virtual {p1, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    goto :goto_0

    .line 5
    :cond_0
    iget-object p1, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$h;->a:Landroid/widget/RelativeLayout;

    invoke-virtual {p1, v3}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    goto :goto_0

    .line 6
    :cond_1
    iget-object p1, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$h;->a:Landroid/widget/RelativeLayout;

    invoke-virtual {p1, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    :goto_0
    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;)Les/l10;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->e:Les/l10;

    return-object p0
.end method


# virtual methods
.method public a()Ljava/util/List;
    .locals 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$g;",
            ">;"
        }
    .end annotation

    .line 28
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 29
    new-instance v1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$g;

    iget-object v2, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a:Landroid/content/Context;

    const v3, 0x7f110063

    .line 30
    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a:Landroid/content/Context;

    const v4, 0x7f1104d7

    .line 31
    invoke-virtual {v3, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, p0, v2, v3}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$g;-><init>(Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;Ljava/lang/String;Ljava/lang/String;)V

    .line 32
    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-object v0
.end method

.method public getItemCount()I
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->b:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->c:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->c:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, 0x2

    :goto_0
    return v0
.end method

.method public getItemViewType(I)I
    .locals 2

    if-nez p1, :cond_0

    const/4 p1, 0x0

    return p1

    .line 1
    :cond_0
    iget-boolean v0, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->b:Z

    const/4 v1, 0x1

    if-nez v0, :cond_1

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->getItemCount()I

    move-result v0

    sub-int/2addr v0, v1

    if-ne p1, v0, :cond_1

    const/4 v1, 0x2

    :cond_1
    return v1
.end method

.method public onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V
    .locals 1

    .line 1
    instance-of v0, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$f;

    if-eqz v0, :cond_0

    .line 2
    check-cast p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$f;

    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a(Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$f;)V

    goto :goto_0

    .line 3
    :cond_0
    instance-of v0, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$e;

    if-eqz v0, :cond_1

    .line 4
    check-cast p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$e;

    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a(Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$e;I)V

    goto :goto_0

    .line 5
    :cond_1
    instance-of p2, p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$h;

    if-eqz p2, :cond_2

    .line 6
    check-cast p1, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$h;

    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a(Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$h;)V

    :cond_2
    :goto_0
    return-void
.end method

.method public onCreateViewHolder(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    .locals 3

    const/4 v0, 0x0

    if-eqz p2, :cond_2

    const/4 v1, 0x1

    if-eq p2, v1, :cond_1

    const/4 v1, 0x2

    if-eq p2, v1, :cond_0

    const/4 p1, 0x0

    goto :goto_1

    .line 1
    :cond_0
    new-instance p2, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$h;

    iget-object v1, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a:Landroid/content/Context;

    .line 2
    invoke-static {v1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v1

    const v2, 0x7f0c00e1

    invoke-virtual {v1, v2, p1, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p1

    invoke-direct {p2, p0, p1}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$h;-><init>(Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;Landroid/view/View;)V

    goto :goto_0

    .line 3
    :cond_1
    new-instance p2, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$e;

    iget-object v1, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a:Landroid/content/Context;

    .line 4
    invoke-static {v1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v1

    const v2, 0x7f0c00e0

    invoke-virtual {v1, v2, p1, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p1

    invoke-direct {p2, p0, p1}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$e;-><init>(Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;Landroid/view/View;)V

    goto :goto_0

    .line 5
    :cond_2
    new-instance p2, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$f;

    iget-object v1, p0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;->a:Landroid/content/Context;

    .line 6
    invoke-static {v1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v1

    const v2, 0x7f0c00e3

    invoke-virtual {v1, v2, p1, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p1

    invoke-direct {p2, p0, p1}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter$f;-><init>(Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceDetailDialogAdapter;Landroid/view/View;)V

    :goto_0
    move-object p1, p2

    :goto_1
    return-object p1
.end method
